/* Copyright (c) 2010-2020 Vadim Surov.
 */
package com.srv.client.event;

import com.google.gwt.event.shared.GwtEvent;

public class SessionEvent extends GwtEvent<SessionEventHandler> {
	public static Type<SessionEventHandler> TYPE = new Type<SessionEventHandler>();

	@Override
	public Type<SessionEventHandler> getAssociatedType() {
		return TYPE;
	}

	@Override
	protected void dispatch(SessionEventHandler handler) {
		handler.onSession(this);
	}
}